package com.k2data.services.helloworld;//package web.service;
import com.k2data.types.helloworld.Greeting;
import com.k2data.types.helloworld.ObjectFactory;
import com.k2data.types.helloworld.Person;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;

@WebService(targetNamespace = "http://k2data.com/services/helloworld", name = "HelloWorld_PortType")
@XmlSeeAlso({ObjectFactory.class})
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface HelloWorldPortType {

    @WebResult(name = "greeting", targetNamespace = "http://k2data.com/types/helloworld", partName = "greeting")
    @WebMethod(action = "http://k2data.com/services/helloworld/sayHello")
    public Greeting sayHello(
            @WebParam(partName = "person", name = "person", targetNamespace = "http://k2data.com/types/helloworld")
            Person person);
}
